package itheima.edu.info.Exdents.Inface;

public class MathTest {
    public static void main(String[] args) {
        int abs = Math.abs(-23);
        System.out.println(abs);
        int max = Math.max(12, 34);
        System.out.println(max);
        int min = Math.min(23, 45);
        System.out.println(min);
        long round = Math.round(10.4);
        System.out.println(round);
        double pow = Math.pow(2.1, 4.1);
        System.out.println(pow);
        double ceil = Math.ceil(1.00000000001);
        System.out.println(ceil);
        double floor = Math.floor(1.999999);
        System.out.println(floor);

    }
}
